import service from "../utils/request";

/** 添加 */
export function CarsAdd(data = {}){
	return service.request({
		method: "post",
		url: "/cars/add/",
		data
	})
}

/** 禁启用状态 */
export function CarsStatus(data = {}){
	return service.request({
		method: "post",
		url: "/cars/status/",
		data
	})
}

/** 删除 */
export function CarsDelete(data = {}){
	return service.request({
		method: "post",
		url: "/cars/delete/",
		data
	})
}

export function CarsDetailed(data = {}){
	return service.request({
		method: "post",
		url: "/cars/detailed/",
		data
	})
}

export function CarsEdit(data = {}){
	return service.request({
		method: "post",
		url: "/cars/edit/",
		data
	})
}

export function CarsInfoAdd(data = {}){
	return service.request({
		method: "post",
		url: "/cars/carsInfoAdd/",
		data
	})
}

export function CarsInfoDetailed(data = {}){
	return service.request({
		method: "post",
		url: "/cars/carsDetailed/",
		data
	})
}

export function CarsInfoEdit(data = {}){
	return service.request({
		method: "post",
		url: "/cars/carsInfoEdit/",
		data
	})
}

export function CarsUnLock(data = {}){
	return service.request({
		method: "post",
		url: "/cars/lock/",
		data
	})
}